xen/arm: vgic: Clean-up the sysreg emulation
authorJulien Grall <julien.grall@arm.com>
Wed, 7 Dec 2016 12:33:47 +0000 (12:33 +0000)
committerStefano Stabellini <sstabellini@kernel.org>
Wed, 7 Dec 2016 22:09:05 +0000 (14:09 -0800)
commitfcf39f46719f7b2ac24114467d76230c7c1de108
tree80f4252391b4f191b2fb17b1103eda05e576ed76
parent79305d41ef3eaac392c67767328336f5f488e8c5
xen/arm: vgic: Clean-up the sysreg emulation

Couple of clean-up for the vgic sysreg emulation:
    - Reference the public documentation rather than a non-public one
    - Let the vgic emulation decides whether a register needs to be
    emulated
    - Drop unnecessary debug printk. They don't bring much information
    and can be misleading (vGICv2 does not support those registers)

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/traps.c